<?php
class ObjectiveLayer extends CWidget {
	public $topic_id;
	public $objective = false;
	public $objective_topic = null;
	public $objective_needs = "";
	public $objective_contacts = "";
	public $prefix = "";
	public $form_name = "Meetings";
	public $rows = 5;
	public $columns = 60;
	public $area_style = "";
	public $style = "margin: 0px; padding-left:0px; width:95%;";
	public $read_only = false;

	public function run() {
		if ($this->objective_topic == "")
			$this->objective_topic = null;

		$this->render('objective_layer', array (
			'topic_id' => $this->topic_id,
			'objective' => $this->objective,
			'objective_topic' => $this->objective_topic,
			'objective_needs' => $this->objective_needs,
			'objective_contacts' => $this->objective_contacts,
			'area_style' => $this->area_style,
			'style' => $this->style,
			'prefix' => $this->prefix,
			'rows' => $this->rows,
			'columns' => $this->columns,
			'form_name' => $this->form_name,
			'read_only' => $this->read_only
		));
	}

}
?>
